FolderID Property (Message Object) 

The FolderID property returns the unique identifier of the folder in which the message resides. Read-only.

Syntax

objMessage.FolderID

Data Type

String

Remarks

Save the folder identifier to retrieve the folder at a later time using the Session object s GetFolder method.

MAPI systems assign a permanent, unique identifier string when an object is created. These identifiers do not change from one MAPI session to another.

The FolderID property corresponds to the MAPI property PR_PARENT_ENTRYID, converted to a string of hexadecimal characters.

See Also

GetFolder, Method (Session Object)